package org.budo.spring.session.redis.repository;

import org.springframework.session.Session;

/**
 * @author lmw
 */
public class BudoSpringSessionRedisRepository extends AbstractBudoSpringSessionRedisRepository {
    @Override
    public Session createSession() {
        return null;
    }

    @Override
    public void deleteById(String id) {
        String key = this.getSessionIdPrefix() + id;

        Object[] parameters = new Object[] { key };
        this.getBudoJdbcDao().executeUpdate(DEL_SQL, parameters);
    }

    @Override
    public Session findById(String id) {
        return null;
    }

    @Override
    public void save(Session session) {}
}